#include"searcher.hpp"
const std::string input="./data/raw_html/raw.txt";





int main()
{
  
  ns_searcher::Searcher searcher;
 searcher.InitSearcher(input);
 std::string query;
 std::string json_string;
 while(true)
 {
   std::cout<<"#请输入关键词"<<std::endl;
   std::cin>>query;
   searcher.Search(query,&json_string);
   std::cout<<json_string<<std::endl;
 }
 return 0;
 }
